
<html lang="en">
<head>
    <#include "../common/header.ftl" />
</head>
<body>

<div class="container " style="margin-top: 20px">
    <style>
        .lg2 {
            position: absolute;
            top: 26px;
            left: 150px;
        }
    </style>
    <div class="navbar cm-navbar">
        <img class="logo" alt="Brand" src="/images/logo.png">
        <img src="/images/logo1.png" class="lg2">
        <span class="pageTitle">&nbsp;</span>
        <ul class="nav navbar-nav navbar-right cm-navbar-nav  ">
            <li>
                <p class="navbar-text text-info">
                    admin
                </p>
            </li>
            <li><a href="/logout.do">安全退出</a></li>
            <li><a href="">个人设置</a></li>
        </ul>
    </div>    <div class="row">
    <div class="col-sm-3">
        <!--菜单回显-->
         <#assign currentMenu="department"/>
        <#include "../common/menu.ftl" />
        <!--设置菜单回显-->
        <script>
            $(".in li.user").addClass("active");
        </script>        </div>
    <div class="col-sm-9">
        <div class="row">
            <div class="col-sm-12">
                <h1 class="page-head-line">平台用户列表</h1>
            </div>
        </div>
        <!--高级查询--->
        <form class="form-inline" id="searchForm" action="/user/list.do" method="post">
            <input type="hidden" name="currentPage" id="currentPage" value="1">
            <div class="form-group">
                <label for="keyword">关键字:</label>
                <input type="text" class="form-control" id="keyword" name="keyword" value="${(qo.keyword)!}"
                       placeholder="请输入姓名/邮箱">
            </div>
            <input type="submit" id="btn_query" class="btn btn-success btn-default" value="查询">
        </form>

        <table class="table table-striped table-hover">
            <thead>
            <tr>
                <th>编号</th>
                <th>邮箱</th>
                <th>昵称</th>
                <th>地区</th>
                <th>头像</th>
                <th>性别</th>
                <th>签名</th>
            </tr>
            </thead>

            <#list pageInfo.list as entity>
                <tr>
                    <td>${entity_index+1}</td>
                    <td>${entity.email!}</td>
                    <td>${entity.nickName}</td>
                    <td>${entity.place!}</td>
                    <td><img src="${entity.headImgUrl}" width="30px"/></td>
                    <td>${entity.genderName}</td>
                    <td>${entity.sign!}</td>
                </tr>
            </#list>


        </table>
            <#include "../common/page.ftl" />

        </div>
</div>
</div>
</body>
</html>